<?php
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>';
echo $title;
echo '</title>';
echo @css.@$js;
echo '<link rel="shortcut icon" href="'.MVC_WEB_DIR.'favicon.ico">
</head>
<body>
';?>
<div style="width:964px;margin-left:auto;margin-right:auto;">
<!-- header start-->
<div style="width:964px;height:65px;float:left;">
<div style="float:left;"><a href='<?php echo MVC_WWW_HOST;?>'>
<img src='<?php echo MVC_WEB_DIR.'img/logo.gif'?>' style='border:solid 0px;height:65px;'/></a>
</div>
<div style="background:green;right:10px;position:absolute;z-index:1000;;color:#ffffff;font-size:13px;
		    padding-top:2px;padding-bottom:2px;" id = "error"></div>
<div style="float:right;width:300px;height:55px;padding-top:10px;">
<?php if(@$userAuth!=false){?>
<?php echo $userAuth['user_name'].' &nbsp;' .$userAuth['user_tname'];?> | 
<a href='<?php echo MVC_WWW_HOST.'user/logout'?>'>退出</a>
<?php }?>

</div>

</div>

<?php 
require_once $content;
?>

</div>
<div id="footer" >
</div>
</body>
</html>';
